package cn.waxcc.controller;

import cn.waxcc.pojo.BsDoctor;
import cn.waxcc.pojo.BsDutyInformation;
import cn.waxcc.service.BsDutyInformationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * 功能说明
 *
 * @author HZ
 * @date 2023-04-10 17:30:36
 */
@RestController
@RequestMapping("/Dut")
public class BsDutyInformationController {
    @Autowired
    private BsDutyInformationService bsDutyInformationService;
    @RequestMapping("/all")
    public List<BsDutyInformation> queryalldoc(){
        List<BsDutyInformation> bsDutyInformations = bsDutyInformationService.dutyInformationAll();
        return bsDutyInformations;
    }
}
